import {defineStore} from 'pinia'
import {ref} from "vue";
export const useVerify = defineStore('verify', () => {
    const vid = ref();
    const getVid = () => {
        return vid.value;
    }
    const setVid = (id: number) => {
        vid.value = id;
    }
    return {
        vid,
        setVid,
        getVid,
    }
}, {
    persist: {
        enabled: true,
    }
})